<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>错误-夏十七用户中心</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta content="Sample content" name="description">
    <meta content="sample-author" name="author">
<!--    <link href="http://xia17.chukongxiang.top/resource/xia17user/css/error/error.css" rel="stylesheet" type="text/css">-->
    <link href="/css/error/error.css" rel="stylesheet" type="text/css">
</head>

<body id="body-main">
<div class="pi-wrapper">
    <div class="main-wrapper">
        <div id="particles-js" class="canvas-maker1 zindex1">
            <canvas class="particles-js-canvas-el" width="1920" height="936" style="width: 100%; height: 100%;"></canvas>
        </div>
        <section>
            <div class="spinner" style="display: none;">
                <div class="loader">
                    <div class="bounce loader1 "></div>
                    <div class="bounce loader2 "></div>
                </div>
            </div>
        </section>
        <div class="account-pages"></div>
        <div class="clearfix"></div>
        <div class="wrapper-page relative zindex2">
            <div class="ex-page-content text-center">
                <div id="statusDiv" class="text-error floating"  ></div>
                <h3 class="text-uppercase font-600 text-white" th:text="${error}"></h3>
                <h3 class="text-uppercase font-600 text-white" th:text="${message}"></h3>
                <div class="text-center">
                    <a class="btn  btn-warning btn-rounded  m-t-20 m-b-30" href="/">
<!--                        <i class="fa fa-long-arrow-left"></i> -->
                        返回首页
                    </a>
                </div>
                <p class="text-white">Xia17User © 2020-2021. All Rights Reserved By: <strong> <a style="color:#fff" target="_blank" href="http://129.211.50.99:8017/">夏十七</a></strong></p>
            </div>
        </div>
    </div>
</div>

<script th:inline="javascript">

    let errorData = {
        status : [[${status}]] + '' ,
        message : [[${message}]] ,
        error : [[${error}]]  ,
        trace : [[${trace}]] ,
        path : [[${path}]] ,
        exception : [[${exception}]] ,
        timestamp : [[${timestamp}]] ,
        show : function () {
            console.log('-------------------错误信息-----------------')
            console.log("path=" + this.path);
            console.log("timestamp=" + this.timestamp);
            console.log("status=" + this.status);
            console.log("error=" + this.error);
            console.log("message=" + this.message);
            console.log("exception=" + this.exception);
            console.log("trace=" + this.trace);
            console.log('-------------------错误信息-----------------')
        },
        // 转换status 给中间加个空格
        castStatus : function () {
            let fs = '';
            for (let i  = 0 ; i < this.status.length ; i++) {
                fs += this.status.charAt(i);
                if (i !== this.status.length - 1){
                    fs += ' ';
                }
            }
            document.getElementById("statusDiv").innerHTML = fs;
        }
    };

    window.onload = function () {
        errorData.show();
        errorData.castStatus();
    };



</script>


<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
<!--<script src="/js/error/jquery.app.js"></script>-->
<!-- 项目内的静态资源地址 -->
<script src="/js/error/particles.js"></script>
<script src="/js/error/particlesapp_bubble.js"></script>
<!-- 统一的静态资源地址 -->
<!--<script src="http://xia17.chukongxiang.top/resource/xia17user/js/error/particles.js"></script>-->
<!--<script src="http://xia17.chukongxiang.top/resource/xia17user/js/error/particlesapp_bubble.js"></script>-->




</body></html>